package com.fastloan.mgt.product.question.model.vo;

import com.kawins.supers.tree.annonation.TreeChild;
import com.kawins.supers.tree.annonation.TreeId;
import com.kawins.supers.tree.annonation.TreeParentId;

import java.util.List;

/**
 * @author chenkai
 * createTime 2018-01-2018/1/3 13:24
 */
public class QuestionVO {
    @TreeId
    private String id;

    @TreeParentId
    private String parentId;

    private String orgId;

    private String textValue;

    private Integer type;

    private String labels;

    private String question;

    private Boolean ifQuestion;

    @TreeChild
    private List<QuestionVO> questionVOList;

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public Boolean getIfQuestion() {
        return ifQuestion;
    }

    public void setIfQuestion(Boolean ifQuestion) {
        this.ifQuestion = ifQuestion;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getTextValue() {
        return textValue;
    }

    public void setTextValue(String textValue) {
        this.textValue = textValue;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getLabels() {
        return labels;
    }

    public void setLabels(String labels) {
        this.labels = labels;
    }

    public List<QuestionVO> getQuestionVOList() {
        return questionVOList;
    }

    public void setQuestionVOList(List<QuestionVO> questionVOList) {
        this.questionVOList = questionVOList;
    }
}
